import { Suspense } from 'react'
import Footer from './components/Footer'
import RoutesConfig from './routes'
import { DotLoading } from 'antd-mobile'

function App() {

  return (
    <div className="App">
      <Suspense fallback={<div>加载中<DotLoading /></div>}>
        <RoutesConfig />
      </Suspense>
      <Footer />
    </div>
  )
}

export default App
